//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

public class LiveTaskUserChannelReconnect implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private Long id;
    private Long createTime;
    private Long createUser;
    private Long serverId;
    private String filePath;
    private String channelName;
    private Long taskChannelId;

    public LiveTaskUserChannelReconnect() {
    }

    public Long getId() {
        return this.id;
    }

    public Long getCreateTime() {
        return this.createTime;
    }

    public Long getCreateUser() {
        return this.createUser;
    }

    public Long getServerId() {
        return this.serverId;
    }

    public String getFilePath() {
        return this.filePath;
    }

    public String getChannelName() {
        return this.channelName;
    }

    public Long getTaskChannelId() {
        return this.taskChannelId;
    }

    public LiveTaskUserChannelReconnect setId(final Long id) {
        this.id = id;
        return this;
    }

    public LiveTaskUserChannelReconnect setCreateTime(final Long createTime) {
        this.createTime = createTime;
        return this;
    }

    public LiveTaskUserChannelReconnect setCreateUser(final Long createUser) {
        this.createUser = createUser;
        return this;
    }

    public LiveTaskUserChannelReconnect setServerId(final Long serverId) {
        this.serverId = serverId;
        return this;
    }

    public LiveTaskUserChannelReconnect setFilePath(final String filePath) {
        this.filePath = filePath;
        return this;
    }

    public LiveTaskUserChannelReconnect setChannelName(final String channelName) {
        this.channelName = channelName;
        return this;
    }

    public LiveTaskUserChannelReconnect setTaskChannelId(final Long taskChannelId) {
        this.taskChannelId = taskChannelId;
        return this;
    }

    public String toString() {
        return "LiveTaskUserChannelReconnect(id=" + this.getId() + ", createTime=" + this.getCreateTime() + ", createUser=" + this.getCreateUser() + ", serverId=" + this.getServerId() + ", filePath=" + this.getFilePath() + ", channelName=" + this.getChannelName() + ", taskChannelId=" + this.getTaskChannelId() + ")";
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof LiveTaskUserChannelReconnect)) {
            return false;
        } else {
            LiveTaskUserChannelReconnect other = (LiveTaskUserChannelReconnect)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label95: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label95;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label95;
                    }

                    return false;
                }

                Object this$createTime = this.getCreateTime();
                Object other$createTime = other.getCreateTime();
                if (this$createTime == null) {
                    if (other$createTime != null) {
                        return false;
                    }
                } else if (!this$createTime.equals(other$createTime)) {
                    return false;
                }

                Object this$createUser = this.getCreateUser();
                Object other$createUser = other.getCreateUser();
                if (this$createUser == null) {
                    if (other$createUser != null) {
                        return false;
                    }
                } else if (!this$createUser.equals(other$createUser)) {
                    return false;
                }

                label74: {
                    Object this$serverId = this.getServerId();
                    Object other$serverId = other.getServerId();
                    if (this$serverId == null) {
                        if (other$serverId == null) {
                            break label74;
                        }
                    } else if (this$serverId.equals(other$serverId)) {
                        break label74;
                    }

                    return false;
                }

                label67: {
                    Object this$filePath = this.getFilePath();
                    Object other$filePath = other.getFilePath();
                    if (this$filePath == null) {
                        if (other$filePath == null) {
                            break label67;
                        }
                    } else if (this$filePath.equals(other$filePath)) {
                        break label67;
                    }

                    return false;
                }

                Object this$channelName = this.getChannelName();
                Object other$channelName = other.getChannelName();
                if (this$channelName == null) {
                    if (other$channelName != null) {
                        return false;
                    }
                } else if (!this$channelName.equals(other$channelName)) {
                    return false;
                }

                Object this$taskChannelId = this.getTaskChannelId();
                Object other$taskChannelId = other.getTaskChannelId();
                if (this$taskChannelId == null) {
                    if (other$taskChannelId != null) {
                        return false;
                    }
                } else if (!this$taskChannelId.equals(other$taskChannelId)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof LiveTaskUserChannelReconnect;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $id = this.getId();
        int result1 = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $createTime = this.getCreateTime();
        result1 = result * 59 + ($createTime == null ? 43 : $createTime.hashCode());
        Object $createUser = this.getCreateUser();
        result1 = result * 59 + ($createUser == null ? 43 : $createUser.hashCode());
        Object $serverId = this.getServerId();
        result1 = result * 59 + ($serverId == null ? 43 : $serverId.hashCode());
        Object $filePath = this.getFilePath();
        result1 = result * 59 + ($filePath == null ? 43 : $filePath.hashCode());
        Object $channelName = this.getChannelName();
        result1 = result * 59 + ($channelName == null ? 43 : $channelName.hashCode());
        Object $taskChannelId = this.getTaskChannelId();
        result1 = result * 59 + ($taskChannelId == null ? 43 : $taskChannelId.hashCode());
        return result1;
    }
}
